{ "metadata": { "kernelspec": { "codemirror_mode": "python", "display_name": "Eval", "language": "python", "name": "eval_kernel" }, "name": "", "signature": "sha256:dab0489dbef5c8b8b38f6f7b02ab2c2f309d31ea4761511cc5ca7302e1f05879" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "code", "collapsed": false, "input": [ "from calico.widgets import GoogleChart\n", "from calico.display import display" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 28 }, { "cell_type": "code", "collapsed": false, "input": [ "gc = GoogleChart(\"BarChart\", keys=['Year', 'Sales', 'Expenses'], \n", " data=[['2004', 1000, 400],\n", " ['2005', 1170, 460],\n", " ['2006', 660, 1120],\n", " ['2007', 1030, 540]], \n", " title='Company Performance', \n", " vAxis={\"title\": 'Year', \"titleTextStyle\": {\"color\": 'red'}})\n", "display(gc)" ], "language": "python", "metadata": {}, "outputs": [ { "html": [ "\n", "
\n", "\n", "" ], "metadata": {}, "output_type": "display_data", "text": [ "